.gy {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5;
    list-style: none;
    -webkit-font-feature-settings: 'tnum';
    font-feature-settings: 'tnum';
    position: relative;
    width: auto;
    margin: 0 auto;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    background: #FFFFFF;
    border-radius: 6px;
}

.gy-wrap {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: auto;
    outline: 0;
    -webkit-overflow-scrolling: touch;
}

.gy-title {
    margin: 0;
    color: #333333;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    word-wrap: break-word;
}

.gy-content {
    position: relative;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-radius: 4px;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
}

.gy-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    padding: 0;
    color: rgba(0, 0, 0, 0.45);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    border: 0;
    outline: 0;
    cursor: pointer;
    -webkit-transition: color 0.3s;
    transition: color 0.3s;
}

.gy-close-x {
    display: none;
    width: 56px;
    height: 56px;
    font-size: 16px;
    font-style: normal;
    line-height: 56px;
    text-align: center;
    text-transform: none;
    text-rendering: auto;
}

.gy-close:focus,
.gy-close:hover {
    color: rgba(0, 0, 0, 0.75);
    text-decoration: none;
}

.gy-header {
    padding: 13px 30px;
    color: #333;
    background: #fff;
    border-radius: 4px 4px 0 0;
}

.gy-body {
    font-size: 14px;
    line-height: 1.5;
    word-wrap: break-word;
    min-height: 355px;
}

.gy-select-header {
    display: flex;
    align-content: center;
    justify-content: center;
    background: #F8F8F8;
    padding-top: 8px;
    padding-bottom: 12px;
}

.gy-select-item {
    position: relative;
    display: flex;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    margin-right: 40px;
    width: 40px;
}
.gy-select-item:hover {
    cursor: pointer;
}
.gy-select-item.gy-selected::before {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 9px;
    width: 22px;
    height: 8px;
    background-image: url("");
    background-size: 22px auto;
}

.gy-select-item.gy-selected::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 14px;
    height: 14px;
    background-image: url("");
    background-size: 14px 14px;
}

.gy-select-item:last-of-type {
    margin-right: 0;
}

.gy-select-color {
    width: 40px;
    height: 40px;
    background: #EC5245;
    border-radius: 6px;
    margin-bottom: 3px;
}

.gy-select-item p {
    margin: 0;
    font-size: 12px;
    text-align: center;
}

.gy-select-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    flex-shrink: 0;
    padding: 30px 30px 0;
}

.gy-icon {
    position: relative;
    width: 48px;
    height: 48px;
    border: 1px solid transparent;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    margin-right: 30px;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-grow: 0;
}

.gy-icon:hover {
    cursor: pointer;
}

.gy-icon:nth-of-type(8n) {
    margin-right: 0;
}

.gy-icon.gy-icon-selected:after {
    content: '';
    position: absolute;
    top: -6px;
    right: -5px;
    width: 14px;
    height: 14px;
    background-image: url("");
    background-size: 14px 14px;
}

.gy-icon.gy-icon-selected {
    border-color: #3E78ED;
}

.gy-icon > img {
    width: 30px;
    height: 30px;
}

.gy-footer {
    padding: 10px 30px;
    text-align: right;
    background: transparent;
    border-top: 1px solid #e8e8e8;
    border-radius: 0 0 4px 4px;
}

.gy-footer button {
    padding: 8px 26px;
    font-size: 16px;
    border-radius: 5px;
}

.gy-footer button:hover {
    cursor: pointer;
}

.gy-footer button + button {
    margin-bottom: 0;
    margin-left: 30px;
}

.gy-footer .gy-cancelButton {
    color: #888888;
    border: 1px solid #EBEBEB;
    background: #fff;
}

.gy-footer .gy-okButton {
    color: #fff;
    border: 1px solid #3E78ED;
    background: #3E78ED;
}

.gy.zoom-enter,
.gy.zoom-appear {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    opacity: 0;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.gy-mask {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
    filter: alpha(opacity=50);
}

.gy-mask-hidden {
    display: none;
}

.gy-open {
    overflow: hidden;
}

.gy-centered {
    text-align: center;
}

.gy-centered::before {
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
    content: '';
}

.gy-centered .gy {
    top: 0;
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .gy {
        max-width: calc(100vw - 16px);
        margin: 8px auto;
    }

    .gy-centered .gy {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
    }
}

.gy-confirm .gy-header {
    display: none;
}

.gy-confirm .gy-close {
    display: none;
}

.gy-confirm .gy-body {
    padding: 32px 32px 24px;
}

.gy-confirm-body-wrapper {
    zoom: 1;
}

.gy-confirm-body-wrapper::before,
.gy-confirm-body-wrapper::after {
    display: table;
    content: '';
}

.gy-confirm-body-wrapper::after {
    clear: both;
}

.gy-confirm-body .gy-confirm-title {
    display: block;
    overflow: hidden;
    color: rgba(0, 0, 0, 0.85);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
}

.gy-confirm-body .gy-confirm-content {
    margin-top: 8px;
    color: #333;
    font-size: 14px;
}

.gy-confirm-body > .anticon {
    float: left;
    margin-right: 16px;
    font-size: 22px;
}

.gy-confirm-body > .anticon + .gy-confirm-title + .gy-confirm-content {
    margin-left: 38px;
}

.gy-confirm .gy-confirm-btns {
    float: right;
    margin-top: 24px;
}

.gy-confirm .gy-confirm-btns button + button {
    margin-bottom: 0;
    margin-left: 8px;
}

.gy-confirm-error .gy-confirm-body > .anticon {
    color: #f5222d;
}

.gy-confirm-warning .gy-confirm-body > .anticon,
.gy-confirm-confirm .gy-confirm-body > .anticon {
    color: #faad14;
}

.gy-confirm-info .gy-confirm-body > .anticon {
    color: #1890ff;
}

.gy-confirm-success .gy-confirm-body > .anticon {
    color: #52c41a;
}
